package com.punch.common.query.user.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.punch.common.query.QueryInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author tanchangguo
 * @date 2020/7/22 14:22
 */
@Data
@ApiModel("用户查询")
public class UserQueryInfo extends QueryInfo {

    @ApiModelProperty("当前用户区域id")
    private Integer currentAreaId;

    @ApiModelProperty("角色id,教育局需要查看当前地区下机构列表")
    private Integer roleId;

    @ApiModelProperty("当前角色id")
    private Integer currentRoleId;

    @ApiModelProperty("账户名称")
    private String accountName;

    @ApiModelProperty(value = "审核状态")
    private Integer auditStatus;

    @ApiModelProperty(value = "0 教育局(查找 1-审核中 3-审核成功)")
    private Integer auditType;

    @ApiModelProperty(value = "创建用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long createId;

}
